import 'package:leader_help/page/home/add_point/index.dart';
import 'package:leader_help/page/home/area_compete/index.dart';
import 'package:leader_help/page/home/demand_submit/index.dart';
import 'package:leader_help/page/home/headlines/main/index.dart';
import 'package:leader_help/page/home/headlines/news_detail/index.dart';
import 'package:leader_help/page/home/pdf_view/index.dart';
import 'package:leader_help/page/home/province_level/index.dart';
import 'package:leader_help/page/home/videodetail/view.dart';
import 'package:leader_help/page/login/forgot/find_back_success/page.dart';
import 'package:leader_help/page/login/forgot/main/binding.dart';
import 'package:leader_help/page/login/forgot/main/page.dart';
import 'package:leader_help/page/login/forgot/new_pwd/binding.dart';
import 'package:leader_help/page/login/forgot/new_pwd/page.dart';
import 'package:leader_help/page/login/main/index.dart';
import 'package:leader_help/page/login/register/main/binding.dart';
import 'package:leader_help/page/login/register/main/page.dart';
import 'package:leader_help/page/login/register/register_success/page.dart';
import 'package:leader_help/page/me/feedback/view.dart';
import 'package:leader_help/page/me/setup/view.dart';
import 'package:leader_help/page/msg/subs/logistics_list/index.dart';
import 'package:leader_help/page/splash/index.dart';
import 'package:leader_help/page/tab_controller/binding.dart';
import 'package:leader_help/page/tab_controller/page.dart';
import 'package:leader_help/page/task/subs/com_list/index.dart';
import 'package:leader_help/page/task/subs/grap_question/index.dart';
import 'package:leader_help/page/task/subs/make_plan/index.dart';
import 'package:leader_help/page/task/subs/plan_task/index.dart';
import 'package:leader_help/page/task/subs/question_detail/index.dart';
import 'package:leader_help/page/welcome/index.dart';
import 'package:get/get.dart';

part 'route_path.dart';

class RouterPages {
  static final List<GetPage> getPages = [
    GetPage(
      name: RouterPath.splash,
      page: () => SplashPage(),
    ),
    GetPage(
      name: RouterPath.welcome,
      page: () => const WelcomePage(),
      binding: WelcomeBinding(),
    ),
    GetPage(
      name: RouterPath.main,
      page: () => const TabPage(),
      binding: TabBinding(),
      transition: Transition.noTransition,
    ),
    GetPage(
      name: RouterPath.login,
      page: () => const LoginPage(),
      binding: LoginBinding(),
      transition: Transition.noTransition,
    ),
    GetPage(
      name: RouterPath.headlines,
      page: () => const HeadlinesPage(),
      binding: HeadlinesBinding(),
    ),
    GetPage(
      name: RouterPath.news_detail,
      page: () => const NewsDetailPage(),
      binding: NewsDetailBinding(),
    ),
    //提交需求
    GetPage(
      name: RouterPath.demand_submit,
      page: () => const DemandSubmitPage(),
      binding: DemandSubmitBinding(),
    ),
    GetPage(
      name: RouterPath.area_compete,
      page: () => const AreaCompetePage(),
      binding: AreaCompeteBinding(),
    ),
    GetPage(
      name: RouterPath.province_level,
      page: () => const ProvinceLevelPage(),
      binding: ProvinceLevelBinding(),
    ),
    //MAR: 任务
    GetPage(
      name: RouterPath.grap_question,
      page: () => const GrapQuestionPage(),
      binding: GrapQuestionBinding(),
    ),
    GetPage(
      name: RouterPath.question_detail,
      page: () => const QuestionDetailPage(),
      binding: QuestionDetailBinding(),
    ),
    GetPage(
      name: RouterPath.make_plan,
      page: () => const MakePlanPage(),
      binding: MakePlanBinding(),
    ),
    GetPage(
      name: RouterPath.com_list,
      page: () => const ComListPage(),
      binding: ComListBinding(),
    ),
    GetPage(
      name: RouterPath.pdf_view,
      page: () => const PdfViewPage(),
      binding: PdfViewBinding(),
    ),
    GetPage(
      name: RouterPath.plan_task,
      page: () => const PlanTaskPage(),
      binding: PlanTaskBinding(),
    ),
    GetPage(
      name: RouterPath.add_point,
      page: () => const AddPointPage(),
      binding: AddPointBinding(),
    ),
    GetPage(
      name: RouterPath.video_detail,
      page: () => VideodetailPage(),
      // binding: VideoPlayerBinding(),
    ),
    //MARK: 消息
    GetPage(
      name: RouterPath.logistics_list,
      page: () => const LogisticsListPage(),
      binding: LogisticsListBinding(),
    ),

    GetPage(
      name: RouterPath.setup,
      page: () => SetupPage(),
      // binding: MapEarthBinding(),
    ),
    GetPage(
      name: RouterPath.feed_back,
      page: () => FeedbackPage(),
      // binding: MapEarthBinding(),
    ),
    GetPage(
      name: RouterPath.forgot_pwd,
      page: () => const ForgotPage(),
      binding: ForgotBinding(),
    ),
    GetPage(
      name: RouterPath.forgot_new_pwd,
      page: () => const NewPwdPage(),
      binding: NewPwdBinding(),
    ),
    GetPage(
      name: RouterPath.find_back_success,
      page: () => const FindBackSuccessPage(),
    ),
    GetPage(
      name: RouterPath.register,
      page: () => const RegisterPage(),
      binding: RegisterBinding(),
    ),
    GetPage(
      name: RouterPath.register_success,
      page: () => const RegisterSuccessPage(),
    ),
  ];
}
